count the number of consistent strings